<!-- BEGIN: center-->
<script>
    function changeProductFilter(){
        var frm = document.frmListProduct;
        var id_brand = frm.id_brand.value;
        var softType = frm.softPrice.value;
        var url = "{base_url}{catID}_"+id_brand+"_"+softType+"-listproduct/thiet-bi-in-tem-ma-vach.html";
        frm.action = url;
        frm.submit();
    }
</script>
<table width="98%" cellpadding="3" cellspacing="3">
    <tr>
        <td class="leftPanel">
            <div class="picot_menu"></div>
            <!-- BEGIN: listCat-->
            <div class="{list.class}"><a href="{base_url}{list.id}-listproduct/{list.url_html}" class="leftMenuLink" title="{list.title}"><strong>{list.title}</strong></a></div>
            <!-- END: listCat-->  
		<br />
  		{FILE "templates/_htmls/left.product.html"}
        </td>
        <td class="mainPanel">
            <div class="page_header"><div class="page_header_text"><?php echo _LB_PRODUCT; ?></div></div>
            
            <table width="96%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                  <td class="title" height="30"><strong>{name}</strong></td>
                </tr>
            </table>
            <br />
            <form method="post" name="frmListProduct">
            <table width="100%" border="0" cellspacing="0" cellpadding="5">
            <tr>
                    <td >&nbsp;</td>
                    <td >
                        <?php echo _LB_BRAND;?>  : 
                        <select name="id_brand" onchange="changeProductFilter()">
                            <option value="0">All</option>
                            <!-- BEGIN: brandList-->
                            <option value="{brand.id}" {brand.selected}>{brand.name}</option>
                            <!-- END: brandList-->
                        </select> &nbsp;&nbsp;&nbsp;&nbsp;
                        <?php echo _LB_SORT_BY_PRICE;?> : 
                        <select name="softPrice" onchange="changeProductFilter()">
                            <option value="0">None</option>
                            <option value="1" {ascendingSelected}><?php echo _LB_ASCENDING;?></option>
                            <option value="2" {descendingSelected}><?php echo _LB_DESCENDING;?></option>
                          </select>
                    </td>
               </tr>
            <!-- BEGIN: list-->
              <tr>
                <td valign="top" width="10%">{list.image}</td>
                <td valign="top">
                    <table cellpadding="0" cellspacing="0" border="0" width="100%" style="line-height: 16px;">
                        <tr>
                          <td align="left"><a href="{base_url}{list.product_id}-product/{list.url_html}" title="{list.product_name}" class="list_title">{list.product_name}</a></td>
                        </tr>
                        <tr><td align="left"><strong><?php echo _LB_PRODUCT_CODE;?> : {list.product_code}</strong></td></tr>
                        <tr><td align="left"><strong><?php echo _LB_PRICE;?> : {list.product_price}</strong></td></tr>
                        <tr><td align="left"><strong><?php echo _LB_BRAND;?> : {list.brand_name}</strong></td></tr>
                        <tr><td align="left">{list.product_shortdes}</td></tr>
                        <tr><td align="right"><a class="small_link" title="{list.product_name}" href="{base_url}{list.product_id}-product/{list.url_html}">&raquo; <?php echo _LB_DETAIL; ?></a></td></tr>
                    </table>
                </td>
              </tr>
                <tr><td style="border-bottom:1px solid #aaaaaa;" colspan="2"></td></tr>  
            <!-- END: list-->  
                <tr align="center">
                    <td colspan="2">{pages}</td>	
                </tr>
            </table>
            </form>
        </td>
    </tr>
</table>


<!-- END: center-->
